export class NavTab {
  active = true;
  closeable = true;
  fixed = false;
  visit = false;
  firstVisit = true;

  history: { url: string, queryParams: any }[] = [];

  constructor(public url: string, public title: string, public queryParams?: any) {
    if (queryParams) {
      this.closeable = queryParams._closeable !== 'false';
      this.fixed = queryParams._fixed === 'true';
    }
  }
}
